<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Inpainting:  Fichier source de /home/r0ots/Prog/Master/m2/inpainting/include/Image.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Page&nbsp;principale</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>Liste&nbsp;des&nbsp;fichiers</span></a></li>
    </ul>
  </div>
<h1>/home/r0ots/Prog/Master/m2/inpainting/include/Image.h</h1><a href="_image_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef IMAGE_H</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define IMAGE_H</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00009"></a>00009 <span class="preprocessor">#include &lt;GL/glut.h&gt;</span>
<a name="l00010"></a>00010 
<a name="l00011"></a>00011 <span class="keyword">class </span><a class="code" href="class_pixel.html" title="Classe Pixel int RVB.">Pixel</a>;
<a name="l00012"></a>00012 <span class="keyword">class </span>Histogramme;
<a name="l00013"></a>00013 
<a name="l00014"></a><a class="code" href="struct_filtre_lineaire.html">00014</a> <span class="keyword">struct </span><a class="code" href="struct_filtre_lineaire.html">FiltreLineaire</a>{
<a name="l00015"></a>00015         <span class="keywordtype">int</span> taille;
<a name="l00016"></a>00016         <span class="keywordtype">float</span> *coef;
<a name="l00017"></a>00017 } ;
<a name="l00018"></a>00018 
<a name="l00025"></a><a class="code" href="class_image.html">00025</a> <span class="keyword">class </span><a class="code" href="class_image.html" title="Classe Image RGB.">Image</a>
<a name="l00026"></a>00026 {
<a name="l00027"></a>00027 <span class="keyword">public</span> :
<a name="l00036"></a>00036         <a class="code" href="class_image.html#aa08fcce6d2eb9718daf554f05c9da5a4" title="Constructeur.">Image</a>( <span class="keywordtype">int</span> l=0, <span class="keywordtype">int</span> h=0 );
<a name="l00042"></a>00042         <a class="code" href="class_image.html#a0294f63700543e11c0f0da85601c7ae5" title="Destructeur.">~Image</a>();
<a name="l00053"></a>00053         <span class="keywordtype">void</span> <a class="code" href="class_image.html#afa9cf1dbd0c6a49d03c5601f5b8e714a" title="Ecrit un pixel.">EcritPixel</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <a class="code" href="class_pixel.html" title="Classe Pixel int RVB.">Pixel</a> couleur);
<a name="l00063"></a>00063         <a class="code" href="class_pixel.html" title="Classe Pixel int RVB.">Pixel</a> <a class="code" href="class_image.html#a0cd0dd469b3d07cf8d80f0650e0065f1" title="Lit un pixel.">LitPixel</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);
<a name="l00072"></a>00072         <a class="code" href="class_image.html" title="Classe Image RGB.">Image</a>* <a class="code" href="class_image.html#a1574929d5f59c9d633717e63ae5d780d" title="Filtre l&amp;#39;image.">FiltrageLineaire</a>(<a class="code" href="struct_filtre_lineaire.html">FiltreLineaire</a> *fl);
<a name="l00080"></a>00080         <a class="code" href="class_image.html" title="Classe Image RGB.">Image</a>* <a class="code" href="class_image.html#a119bed9cece01481f95b4ea17576ddc5" title="Calcul le laplacien.">Laplacien</a>();
<a name="l00088"></a>00088         <a class="code" href="class_image.html" title="Classe Image RGB.">Image</a>* <a class="code" href="class_image.html#a4c36d95a80d8d185e023436ed900e90e" title="Copie une image.">CopierImage</a>();
<a name="l00096"></a>00096         <span class="keywordtype">void</span> <a class="code" href="class_image.html#ab1ffb3a3fb2af6590a941814c2b2074d" title="Transforme l&amp;#39;image en GLubyte.">toSprite</a>();
<a name="l00104"></a>00104         <span class="keywordtype">void</span> <a class="code" href="class_image.html#a8745ab6aa9ec36b6f1f71a918cf7d9ae" title="Afficher l&amp;#39;image.">Afficher</a>();
<a name="l00114"></a>00114         <span class="keywordtype">int</span> <a class="code" href="class_image.html#ab211ae66dd9c6cdaf6ce1989b18d9110" title="Charge une image PPM.">chargePPM</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> *nom_fichier);
<a name="l00124"></a>00124         <span class="keywordtype">int</span> <a class="code" href="class_image.html#ae687f32d04c7ec875819393aa8f4b39f" title="Sauve une image PPM.">sauvePPM</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> *nom_fichier);
<a name="l00132"></a><a class="code" href="class_image.html#a8ceca213fd90b0576369cf11781c7c8b">00132</a>         <span class="keywordtype">int</span> <a class="code" href="class_image.html#a8ceca213fd90b0576369cf11781c7c8b" title="Acceseur largeur.">getL</a>(){<span class="keywordflow">return</span> largeur;}
<a name="l00140"></a><a class="code" href="class_image.html#a893d84209c876e98159af43b7dcedb98">00140</a>         <span class="keywordtype">int</span> <a class="code" href="class_image.html#a893d84209c876e98159af43b7dcedb98" title="Acceseur hauteur.">getH</a>(){<span class="keywordflow">return</span> hauteur;}
<a name="l00141"></a>00141         
<a name="l00142"></a>00142         
<a name="l00143"></a>00143 <span class="keyword">private</span>:
<a name="l00144"></a>00144         <span class="keywordtype">int</span>     largeur; 
<a name="l00145"></a>00145         <span class="keywordtype">int</span>     hauteur; 
<a name="l00146"></a>00146         <a class="code" href="class_pixel.html" title="Classe Pixel int RVB.">Pixel</a>* data; 
<a name="l00147"></a>00147         GLubyte* sprite; 
<a name="l00148"></a>00148 };
<a name="l00149"></a>00149 
<a name="l00150"></a>00150 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"/><address style="text-align: right;"><small>Généré le Sun Mar 14 17:21:45 2010 pour Inpainting par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>
